package com.hyl.websocket.bean;

/**
 * 封装浏览器(客户端)给服务端发送的消息数据
 */
public class Message {
    private String toName;
    private String message;

    public Message(){

    }

    public Message(String toName, String message) {
        this.toName = toName;
        this.message = message;
    }

    public String getToName() {
        return toName;
    }

    public void setToName(String toName) {
        this.toName = toName;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
